package com.itheima.health.service;

import com.itheima.health.entity.Result;
import com.itheima.health.pojo.User;

public interface UserService {
    /**
     * 用户注册
     * @param registerUser
     * @return
     */
    Result register(User registerUser);

    /**
     * 用户登录
     * @param loginUser
     * @return
     */
    User login(User loginUser);

    /**
     * 通过手机号查询用户
     * @param telephone
     * @return
     */
    User findByTelephone(String telephone);
}